/* 全局flex布局 player chat */

.container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* player */

.container .player {
  height: 423rpx;
  width: 100%;
}

/*网络链接提示*/

.container .net-info {
  position: absolute;
  left: 30rpx;
  top:20rpx;
  z-index: 1;
}

.container .net-info .info {
  font-size: 26rpx;
}

/* 退出全屏按钮 */

.container .player .live live-player .exit-full-screen {
  width: 70rpx;
  height: 70rpx;
  margin-left: 30rpx;
  margin-top: 30rpx;
  /* transform: rotate(30deg); */
}

.container .player .live live-player .exit-full-screen cover-image {
  width: 70rpx;
  height: 70rpx;
}

/* 文档 */

.container .player .document {
  height: 422rpx;
  width: 100%;
  background-color: #fff;
}

.container .player .document image {
  height: 422rpx;
  width: 100%;
}

/*文档全屏*/

.container .player .fullDocument{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index:1;
}

/* 切换 */

.container .player .switch-pip-document {
  position: absolute;
  top: 508rpx;
  width: 240rpx;
  height: 180rpx;
  right: 0;
  z-index: 1;
}

.container .player .document .switch-pip-image {
  width: 240rpx;
  height: 180rpx;
}

/* 音频模式 */

.container .player .live live-player .controls .audio-mode {
  position: absolute;
  width: 449rpx;
  height: 194rpx;
  top: 114rpx;
  left: 151rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container .player .live live-player .controls .audio-mode .audio-mode-image {
  width: 449rpx;
  height: 132rpx;
  margin-bottom: 30rpx;
}

.container .player .live live-player .controls .audio-mode .text {
  opacity: 0.5;
  font-size: 32rpx;
  color: #fff;
  text-align: center;
}

/* 直播中 */

.container .player .living {
  position: absolute;
  height: 100%;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 33rpx;
}

.container .player .live live-player .living {
}

.container .player .living .living-box {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 100rpx;
  width: 125rpx;
  height: 52rpx;
  margin-right: 30rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container .player .living .living-box .circle {
  background: #f83f3f;
  box-shadow: 1rpx 1rpx 1rpx 0rpx rgba(0, 0, 0, 0.50);
  width: 12rpx;
  height: 12rpx;
  border-radius: 100%;
  float: left;
  margin-right: 5rpx;
}

.container .player .living .living-box .text {
  font-size: 26rpx;
  color: #fff;
  text-shadow: 1rpx 1rpx 0rpx rgba(102, 102, 102, 0.50);
  float: left;
}

/* 切换线路 */

.container .player .switch-router {
  position: absolute;
  z-index: 1;
  /* top:234rpx; */
  top: 210rpx;
  left: 440rpx;
}

.container .player .switch-router .switch-router-select {
  background-color: rgba(30, 31, 33, 0.5);
  width: 190rpx;
  margin-right: 20rpx;
  margin-top: 0rpx;
}

.container .player .switch-router .switch-router-option {
  width: 100%;
  height: 60rpx;
  font-size: 26rpx;
  color: #fff;
  text-shadow: 0px 1px 0px #666;
  text-align: center;
  line-height: 60rpx;
  border-bottom: 1rpx solid rgba(255, 255, 255, 0.30);
}

.container .player .switch-router .active {
  color: #fc7c00;
  text-shadow: 0px 1px 0px #666;
}

.container .player .switch-router .switch-router-option:last-child {
  border: none;
}

/* 公告 */

.container .player .notice-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 422rpx;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.69);
  z-index: 1;
}

.container .player .notice-container .notice {
  margin: 0 auto;
  width: 650rpx;
  /* display: flex;
flex-direction: column;
align-items: center; */
}

/* head */

.container .player .notice-container .head {
  width: 650rpx;
  height: 60rpx;
  margin: 40rpx 0 30rpx;
}

.container .player .notice-container .head image {
  width: 100%;
  height: 100%;
}

.container .player .notice-container .head .text {
  position: relative;
  left: 278rpx;
  top: -45rpx;
  font-size: 28rpx;
  color: #fff;
  line-height: 38rpx;
}

/* content */

.container .player .notice-container .content {
  width: 600rpx;
  height: 135rpx;
  overflow-y: scroll;
  margin-bottom: 47rpx;
}

.container .player .notice-container .content .text {
  width: 100%;
  font-size: 30rpx;
  color: #fff;
  white-space: normal;
  word-wrap: break-word;
  line-height: 40rpx;
}

/* close */

.container .player .notice-container .close {
  width: 80rpx;
  height: 80rpx;
  margin: 47rpx auto 0rpx;
}

.container .player .notice-container .close image {
  width: 80rpx;
  height: 80rpx;
}

.container .player .notice-container .close cover-image {
  width: 80rpx;
  height: 80rpx;
}

/* 用户交互层 */

.container .player .cover {
  position: absolute;
  height: 422rpx;
  width: 100%;
  top: 0;
}

.container .player .controls {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
}

/* top */

.container .player .controls .top {
  transition: all 0.8s;
  /* background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.00) 100%); */
  height: 68rpx;
}

.container .player .controls .top .notice-btn {
  font-size: 28rpx;
  color: #fff;
  text-shadow: 0rpx 2rpx 0rpx #666;
  float: right;
  margin-top: 20rpx;
  margin-right: 40rpx;
}

.container .player .controls .top .notice-btn cover-image {
  width: 59rpx;
  height: 30rpx;
}

/* center */

.container .player .document .controls .center {
  height: 292rpx;
}

.container .player .live .controls .center {
  height: 292rpx;
}

/*TODO  */

.container .player .controls .center .hint {
  font-size: 36rpx;
  color: #fff;
  text-align: center;
  line-height: 294rpx;
  text-shadow: 0rpx 2rpx 0rpx #666;
}

/*文档全屏*/
.container .player .controls .center .document-full-screen{
  position: absolute;
  margin-top: 20rpx;
  margin-left: 30rpx;
}

.container .player .controls .center .document-full-screen cover-image{
  width: 70rpx;
  height: 70rpx;
}


.container .player .controls .center .btn-group {
  float: right;
  /* margin-right: 30rpx; */
  margin-top: 20rpx;
}

.container .player .controls .center .btn-group .btn {
  width: 100rpx;
  height: 90rpx;
}

.container .player .controls .center .btn-group .btn cover-image {
  width: 70rpx;
  height: 70rpx;
}

/* bottom */

.container .player .controls .bottom {
  height: 60rpx;
  /* padding-top: 22rpx; */
  box-sizing: border-box;
}

.container .player .controls .bottom .online-peoples {
  margin-left: 30rpx;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 100rpx;
  display: inline-block;
}

.container .player .controls .bottom .online-peoples .people-box {
  float: left;
}

.container .player .controls .bottom .online-peoples .people-box .people {
  width: 30rpx;
  height: 30rpx;
  float: left;
  margin: 10rpx 6rpx 0rpx 10rpx;
  text-shadow: 0rpx 2rpx 0rpx #666;
}

.container .player .controls .bottom .online-peoples .number {
  opacity: 0.8;
  font-size: 24rpx;
  color: #fff;
  float: left;
  line-height: 30rpx;
  text-shadow: 0rpx 2rpx 0rpx #666;
  margin: 10rpx 10rpx 0rpx 0rpx;
}

/* 直播视频 */

.container .player .live {
  width: 240rpx;
  height: 180rpx;
  position: absolute;
  right: 0;
  top: 506rpx;
  z-index: 1;
}

.container .player .live live-player {
  width: 100%;
  height: 100%;
}

.container .player .switch-pip-player {
  top: 0;
  height: 422rpx;
  width: 100%;
}

/* chat */

.container .chat {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* tab */

.container .chat .tab {
  width: 100%;
  height: 80rpx;
  display: flex;
  background: #fff;
  /* box-shadow: 0rpx 1rpx 3rpx 0rpx rgba(0, 0, 0, 0.2); *//* margin-bottom: 3rpx; */
  border-top: 1rpx #e8e8e8 solid;
  border-bottom: 1rpx #e8e8e8 solid;
}

.container .chat .tab .option {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 18rpx;
}

.container .chat .tab .option text {
  font-size: 30rpx;
  color: #333;
  flex:9;
}

.container .chat .tab .option .border {
  width: 100rpx;
  height: 4rpx;
}

.container .chat .tab .option .active {
  background: #ff7d00;
}

/* swiper */

.container .chat .swiper {
  flex: 1;
  height: 58%;
}

/* swiper 聊天 */

.container .chat .swiper .chat {
  display: flex;
  flex-direction: column;
}

.container .chat .swiper .chat .content {
  flex: 1;
  background: #f3f3f3;
  overflow: scroll;
  height: 86%;
}

.container .chat .swiper .chat .content scroll-view {
  height: 100%;
}

/* 聊天内容 */

.container .chat .swiper .chat .content scroll-view .message-box {
  display: flex;
  margin: 20rpx 0rpx 30rpx 30rpx;
  line-height: 36rpx;
}

.container .chat .swiper .chat .content scroll-view .message-box-right {
  display: flex;
  flex-direction: row-reverse;
  margin: 20rpx 0rpx 30rpx 30rpx;
  line-height: 36rpx;
}

.container .chat .swiper .chat .content scroll-view .message-box .left {
}

.container .chat .swiper .chat .content scroll-view .message-box .left .image-box {
  margin-right: 22rpx;
}

.container .chat .swiper .chat .content scroll-view .message-box .left .image-box-right {
  margin-left: 22rpx;
}

.container .chat .swiper .chat .content scroll-view .message-box .left .image-box image {
  width: 70rpx;
  height: 70rpx;
}

.container .chat .swiper .chat .content scroll-view .message-box .right {
}

.container .chat .swiper .chat .content scroll-view .message-box .right .name-box {
  margin-bottom: 16rpx;
  line-height: 24rpx;
}

.container .chat .swiper .chat .content scroll-view .message-box .right .name-box text {
  font-size: 24rpx;
  color: #666;
}

.container .chat .swiper .chat .content scroll-view .message-box .right .name-box-right {
  margin-bottom: 16rpx;
  line-height: 24rpx;
  text-align: right;
}

.container .chat .swiper .chat .content scroll-view .message-box .right .name-box-right text {
  font-size: 24rpx;
  color: #666;
}

.container .chat .swiper .chat .content scroll-view .message-box .right .msg-box {
  background: #fff;
  /* border: 1rpx solid #d1d1d1; */
  box-shadow: inset 0rpx 2rpx 1rpx 0rpx rgba(255, 255, 255, 0.50);
  border-radius: 4rpx;
  width: 100%;
  max-width: 489rpx;
  box-sizing: border-box;
  padding: 20rpx;
  padding-left: 25rpx;
}

.container .chat .swiper .chat .content scroll-view .message-box .right .msg-box rich-text {
  font-size: 26rpx;
  color: #333;
  word-wrap: break-word;
}

.container .chat .swiper .chat .content scroll-view .message-box .right .msg-box-right {
  background: #ff7d00;
  border-radius: 4rpx;
  width: 100%;
  max-width: 489rpx;
  box-sizing: border-box;
  padding: 20rpx;
  padding-left: 25rpx;
  border: none;
  box-shadow: none;
}

.container .chat .swiper .chat .content scroll-view .message-box .right .msg-box-right rich-text {
  font-size: 26rpx;
  color: #fff;
  word-wrap: break-word;
}

/* 输入框 */

.container .chat .swiper .chat .input {
  margin-top: 2rpx;
  /* flex-basis: 1; */
  height: 90rpx;
  background: #f0f0f0;
  box-shadow: 0px -1rpx 0rpx 0rpx #ddd, inset 0rpx -1rpx 0rpx 0rpx #ddd;
  display: flex;
  box-sizing: border-box;
  padding: 13rpx 24rpx;
  /* border-top: 1px rgb(220,220,220) solid;    */
}

.container .chat .swiper .chat .input .input-box {
  margin-right: 26rpx;
  background: #fff;
  border: 1rpx solid #ddd;
  border-radius: 4rpx;
  width: 556rpx;
  height: 62rpx;
}

.container .chat .swiper .chat .input .input-box input {
  width: 456rpx;
  font-size: 30rpx;
  /* text-indent: 20rpx; */
  margin-left: 20rpx;
  height: 100%;
}

.container .chat .swiper .chat .input .input-box image {
  width: 48rpx;
  height: 48rpx;
  position: relative;
  left: 493rpx;
  top: -56rpx;
}

.container .chat .swiper .chat .input .send {
  background-image: linear-gradient(90deg, #ff8e00 0%, #ff5301 100%);
  border-radius: 6rpx;
  width: 120rpx;
  height: 64rpx;
  text-align: center;
  line-height: 64rpx;
}

.container .chat .swiper .chat .input .send .btn {
  font-size: 30rpx;
  color: #fff;
}

.container .chat .swiper .chat .emoji {
  margin-top: 40rpx;
  margin-left: 45rpx;
}

.container .chat .swiper .chat .emoji .emoji-row {
  display: flex;
}

.container .chat .swiper .chat .emoji .emoji-row  .emoji-col {
}

.container .chat .swiper .chat .emoji .emoji-row .emoji-col .emoji-box {
  margin-right: 40rpx;
  margin-bottom: 54rpx;
}

.container .chat .swiper .chat .emoji .emoji-row .emoji-col .emoji-box  image {
  height: 60rpx;
  width: 60rpx;
}

/* swiper 问答 */

.container .chat .swiper .catechism {
  display: flex;
  flex-direction: column;
}

.container .chat .swiper .catechism .content {
  flex: 1;
  background: #f3f3f3;
  overflow: scroll;
  height: 86%;
}

.container .chat .swiper .catechism .content scroll-view {
  height: 100%;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box {
  display: flex;
  padding: 30rpx 0rpx 20rpx 30rpx;
  background-color: #fff;
  border-bottom: 20rpx solid #f3f3f3;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box:last-child {
  border-bottom: none;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .left {
  margin-right: 22rpx;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .left .image-box {
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .left .image-box image {
  border: 2rpx solid #fff;
  /* box-shadow: 0rpx 1rpx 3rpx 0rpx rgba(0, 0, 0, 0.24); */
  width: 76rpx;
  height: 76rpx;
  border-radius: 100%;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right {
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .name-box {
  margin-bottom: 16rpx;
  line-height: 24rpx;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .name-box .name {
  font-size: 24rpx;
  color: #666;
  margin-right: 19rpx;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .name-box .time {
  font-size: 24rpx;
  color: #999;
  line-height: 24rpx;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .question-box {
  width: 100%;
  max-width: 590rpx;
  margin-bottom: 16rpx;
  line-height: 36rpx;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .question-box text {
  font-size: 26rpx;
  color: #333;
  word-wrap: break-word;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .answers {
  background: #fafafa;
  /* box-shadow: 0px -1px 0px 0px #e8e8e8, inset 0px -1px 0px 0px #e8e8e8; */
  width: 590rpx;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .answers .answer-box {
  padding: 20rpx;
  border-bottom: 1rpx solid #e8e8e8;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .answers .answer-box:last-child {
  border-bottom: none;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .answers .answer-box .name {
  font-size: 24rpx;
  color: #666;
}

.container .chat .swiper .catechism .content scroll-view .catechism-box .right .answers .answer-box .answer {
  font-size: 24rpx;
  color: #333;
  word-wrap: break-word;
}

/* 问答输入框 */

.container .chat .swiper .catechism .input {
  margin-top: 2rpx;
  /* flex-basis: 1; */
  height: 90rpx;
  background: #f0f0f0;
  box-shadow: 0px -1rpx 0rpx 0rpx #ddd, inset 0rpx -1rpx 0rpx 0rpx #ddd;
  display: flex;
  box-sizing: border-box;
  padding: 13rpx 24rpx;
  /* border-top: 1px rgb(220,220,220) solid; */
}

.container .chat .swiper .catechism .input .input-box {
  margin-right: 26rpx;
  background: #fff;
  border: 1rpx solid #ddd;
  border-radius: 4rpx;
  width: 556rpx;
  height: 62rpx;
  display: flex;
}

.container .chat .swiper .catechism .input .input-box input {
  width: 456rpx;
  font-size: 30rpx;
  /* text-indent: 20rpx; */
  margin-left: 20rpx;
  height: 100%;
}

.container .chat .swiper .catechism .input .input-box .show {
  padding: 5rpx 5rpx;
  border-right: 1px #ddd solid;
  position: relative;
}

.container .chat .swiper .catechism .input .input-box .show .hint-show-question {
  position: absolute;
  left: 15rpx;
  top: -107rpx;
}

.container .chat .swiper .catechism .input .input-box .show .hint-show-question .triangle {
  width: 0rpx;
  height: 0rpx;
  border-left: 15rpx solid transparent;
  border-right: 15rpx solid transparent;
  border-top: 15rpx solid rgba(20, 20, 20, 0.8);
  margin-left: 15rpx;
}

.container .chat .swiper .catechism .input .input-box .show .hint-show-question .hint-box {
  background-color: rgba(20, 20, 20, 0.8);
  border-radius: 5rpx;
  width: 234rpx;
  line-height: 68rpx;
  text-align: center;
}

.container .chat .swiper .catechism .input .input-box .show .hint-show-question .hint-box text {
  font-size: 26rpx;
  color: #fff;
}

.container .chat .swiper .catechism .input .input-box .show image {
  width: 70rpx;
  height: 54rpx;
}

.container .chat .swiper .catechism .input .send {
  background-image: linear-gradient(90deg, #ff8e00 0%, #ff5301 100%);
  border-radius: 6rpx;
  width: 120rpx;
  height: 64rpx;
  text-align: center;
  line-height: 64rpx;
}

.container .chat .swiper .catechism .input .send .btn {
  font-size: 30rpx;
  color: #fff;
}

/* swiper 简介 */

.container .chat .swiper .desc {
  background: #f3f3f3;
}

.container .chat .swiper .desc .title {
  background: #fff;
  box-shadow: 0px 1rpx 0px 0px #e8e8e8;
  line-height: 45rpx;
  margin-bottom: 2rpx;
  box-sizing: border-box;
  padding: 30rpx;
}

.container .chat .swiper .desc .title text {
  font-size: 32rpx;
  color: #ff7d00;
  word-break: break-all;
  word-wrap: break-word;
}

.container .chat .swiper .desc .content {
  background: #fff;
  box-sizing: border-box;
  padding: 30rpx;
}

.container .chat .swiper .desc .content rich-text {
  font-size: 30rpx;
  color: #333;
}

/* 输入不能为空 提示信息 */

.container .chat .hint-input-blank {
  position: absolute;
  width: 100%;
  top: 85%;
  display: flex;
  justify-content: center;
}

.container .chat .hint-input-blank .hint-box {
  background-color: rgba(20, 20, 20, 0.8);
  border-radius: 5rpx;
  padding: 15rpx 55rpx;
  display: flex;
}

.container .chat .hint-input-blank text {
  font-size: 24rpx;
  color: #fff;
}
